<%--
  Created by IntelliJ IDEA.
  User: 宝贝嘉燕
  Date: 2021/9/25
  Time: 9:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
int[]arr={10,20,30,40,50};
pageContext.setAttribute("arr",arr);

%>
<h1>${arr}</h1>
<h1>${arr[1]}</h1>
</body>
</html>
